package com.xgc.book.bookserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgc.book.bookserver.bean.UserinfoBean;
import com.xgc.book.bookserver.util.ResultJson;
import com.xgc.book.bookserver.util.form.LoginForm;
import com.xgc.book.bookserver.util.form.PasswordForm;

/**
 * <p>
 * 用户登录表 服务类
 * </p>
 *
 * @author wrz
 * @since 2023-11-20
 */
public interface UserinfoService extends IService<UserinfoBean> {
    ResultJson login(LoginForm loginForm);

    ResultJson getPage(int page, int limit, UserinfoBean userinfo);

    void update(UserinfoBean userinfo);

    void updatePassword(PasswordForm passwordForm);

    ResultJson getAuthorList();
}
